package com.eshop.modules.product.service.dto;

import java.util.Date;
import com.eshop.modules.user.service.dto.UserSmallDto;
import java.io.Serializable;

public class StoreProductReplyDto implements Serializable
{
    private Long id;
    private Long uid;
    private UserSmallDto user;
    private Long oid;
    private String unique;
    private Long productId;
    private StoreProductSmallDto storeProduct;
    private String replyType;
    private Integer productScore;
    private Integer serviceScore;
    private String comment;
    private String pics;
    private Date createTime;
    private String merchantReplyContent;
    private Date merchantReplyTime;
    private Integer isReply;
    
    public Long getId() {
        return this.id;
    }
    
    public Long getUid() {
        return this.uid;
    }
    
    public UserSmallDto getUser() {
        return this.user;
    }
    
    public Long getOid() {
        return this.oid;
    }
    
    public String getUnique() {
        return this.unique;
    }
    
    public Long getProductId() {
        return this.productId;
    }
    
    public StoreProductSmallDto getStoreProduct() {
        return this.storeProduct;
    }
    
    public String getReplyType() {
        return this.replyType;
    }
    
    public Integer getProductScore() {
        return this.productScore;
    }
    
    public Integer getServiceScore() {
        return this.serviceScore;
    }
    
    public String getComment() {
        return this.comment;
    }
    
    public String getPics() {
        return this.pics;
    }
    
    public Date getCreateTime() {
        return this.createTime;
    }
    
    public String getMerchantReplyContent() {
        return this.merchantReplyContent;
    }
    
    public Date getMerchantReplyTime() {
        return this.merchantReplyTime;
    }
    
    public Integer getIsReply() {
        return this.isReply;
    }
    
    public void setId(final Long id) {
        this.id = id;
    }
    
    public void setUid(final Long uid) {
        this.uid = uid;
    }
    
    public void setUser(final UserSmallDto user) {
        this.user = user;
    }
    
    public void setOid(final Long oid) {
        this.oid = oid;
    }
    
    public void setUnique(final String unique) {
        this.unique = unique;
    }
    
    public void setProductId(final Long productId) {
        this.productId = productId;
    }
    
    public void setStoreProduct(final StoreProductSmallDto storeProduct) {
        this.storeProduct = storeProduct;
    }
    
    public void setReplyType(final String replyType) {
        this.replyType = replyType;
    }
    
    public void setProductScore(final Integer productScore) {
        this.productScore = productScore;
    }
    
    public void setServiceScore(final Integer serviceScore) {
        this.serviceScore = serviceScore;
    }
    
    public void setComment(final String comment) {
        this.comment = comment;
    }
    
    public void setPics(final String pics) {
        this.pics = pics;
    }
    
    public void setCreateTime(final Date createTime) {
        this.createTime = createTime;
    }
    
    public void setMerchantReplyContent(final String merchantReplyContent) {
        this.merchantReplyContent = merchantReplyContent;
    }
    
    public void setMerchantReplyTime(final Date merchantReplyTime) {
        this.merchantReplyTime = merchantReplyTime;
    }
    
    public void setIsReply(final Integer isReply) {
        this.isReply = isReply;
    }
    
    @Override
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (!(o instanceof StoreProductReplyDto)) {
            return false;
        }
        final StoreProductReplyDto other = (StoreProductReplyDto)o;
        if (!other.canEqual(this)) {
            return false;
        }
        final Object this$id = this.getId();
        final Object other$id = other.getId();
        Label_0065: {
            if (this$id == null) {
                if (other$id == null) {
                    break Label_0065;
                }
            }
            else if (this$id.equals(other$id)) {
                break Label_0065;
            }
            return false;
        }
        final Object this$uid = this.getUid();
        final Object other$uid = other.getUid();
        Label_0102: {
            if (this$uid == null) {
                if (other$uid == null) {
                    break Label_0102;
                }
            }
            else if (this$uid.equals(other$uid)) {
                break Label_0102;
            }
            return false;
        }
        final Object this$oid = this.getOid();
        final Object other$oid = other.getOid();
        Label_0139: {
            if (this$oid == null) {
                if (other$oid == null) {
                    break Label_0139;
                }
            }
            else if (this$oid.equals(other$oid)) {
                break Label_0139;
            }
            return false;
        }
        final Object this$productId = this.getProductId();
        final Object other$productId = other.getProductId();
        Label_0176: {
            if (this$productId == null) {
                if (other$productId == null) {
                    break Label_0176;
                }
            }
            else if (this$productId.equals(other$productId)) {
                break Label_0176;
            }
            return false;
        }
        final Object this$productScore = this.getProductScore();
        final Object other$productScore = other.getProductScore();
        Label_0213: {
            if (this$productScore == null) {
                if (other$productScore == null) {
                    break Label_0213;
                }
            }
            else if (this$productScore.equals(other$productScore)) {
                break Label_0213;
            }
            return false;
        }
        final Object this$serviceScore = this.getServiceScore();
        final Object other$serviceScore = other.getServiceScore();
        Label_0250: {
            if (this$serviceScore == null) {
                if (other$serviceScore == null) {
                    break Label_0250;
                }
            }
            else if (this$serviceScore.equals(other$serviceScore)) {
                break Label_0250;
            }
            return false;
        }
        final Object this$isReply = this.getIsReply();
        final Object other$isReply = other.getIsReply();
        Label_0287: {
            if (this$isReply == null) {
                if (other$isReply == null) {
                    break Label_0287;
                }
            }
            else if (this$isReply.equals(other$isReply)) {
                break Label_0287;
            }
            return false;
        }
        final Object this$user = this.getUser();
        final Object other$user = other.getUser();
        Label_0324: {
            if (this$user == null) {
                if (other$user == null) {
                    break Label_0324;
                }
            }
            else if (this$user.equals(other$user)) {
                break Label_0324;
            }
            return false;
        }
        final Object this$unique = this.getUnique();
        final Object other$unique = other.getUnique();
        Label_0361: {
            if (this$unique == null) {
                if (other$unique == null) {
                    break Label_0361;
                }
            }
            else if (this$unique.equals(other$unique)) {
                break Label_0361;
            }
            return false;
        }
        final Object this$storeProduct = this.getStoreProduct();
        final Object other$storeProduct = other.getStoreProduct();
        Label_0398: {
            if (this$storeProduct == null) {
                if (other$storeProduct == null) {
                    break Label_0398;
                }
            }
            else if (this$storeProduct.equals(other$storeProduct)) {
                break Label_0398;
            }
            return false;
        }
        final Object this$replyType = this.getReplyType();
        final Object other$replyType = other.getReplyType();
        Label_0435: {
            if (this$replyType == null) {
                if (other$replyType == null) {
                    break Label_0435;
                }
            }
            else if (this$replyType.equals(other$replyType)) {
                break Label_0435;
            }
            return false;
        }
        final Object this$comment = this.getComment();
        final Object other$comment = other.getComment();
        Label_0472: {
            if (this$comment == null) {
                if (other$comment == null) {
                    break Label_0472;
                }
            }
            else if (this$comment.equals(other$comment)) {
                break Label_0472;
            }
            return false;
        }
        final Object this$pics = this.getPics();
        final Object other$pics = other.getPics();
        Label_0509: {
            if (this$pics == null) {
                if (other$pics == null) {
                    break Label_0509;
                }
            }
            else if (this$pics.equals(other$pics)) {
                break Label_0509;
            }
            return false;
        }
        final Object this$createTime = this.getCreateTime();
        final Object other$createTime = other.getCreateTime();
        Label_0546: {
            if (this$createTime == null) {
                if (other$createTime == null) {
                    break Label_0546;
                }
            }
            else if (this$createTime.equals(other$createTime)) {
                break Label_0546;
            }
            return false;
        }
        final Object this$merchantReplyContent = this.getMerchantReplyContent();
        final Object other$merchantReplyContent = other.getMerchantReplyContent();
        Label_0583: {
            if (this$merchantReplyContent == null) {
                if (other$merchantReplyContent == null) {
                    break Label_0583;
                }
            }
            else if (this$merchantReplyContent.equals(other$merchantReplyContent)) {
                break Label_0583;
            }
            return false;
        }
        final Object this$merchantReplyTime = this.getMerchantReplyTime();
        final Object other$merchantReplyTime = other.getMerchantReplyTime();
        if (this$merchantReplyTime == null) {
            if (other$merchantReplyTime == null) {
                return true;
            }
        }
        else if (this$merchantReplyTime.equals(other$merchantReplyTime)) {
            return true;
        }
        return false;
    }
    
    protected boolean canEqual(final Object other) {
        return other instanceof StoreProductReplyDto;
    }
    
    @Override
    public int hashCode() {
        final int PRIME = 59;
        int result = 1;
        final Object $id = this.getId();
        result = result * 59 + (($id == null) ? 43 : $id.hashCode());
        final Object $uid = this.getUid();
        result = result * 59 + (($uid == null) ? 43 : $uid.hashCode());
        final Object $oid = this.getOid();
        result = result * 59 + (($oid == null) ? 43 : $oid.hashCode());
        final Object $productId = this.getProductId();
        result = result * 59 + (($productId == null) ? 43 : $productId.hashCode());
        final Object $productScore = this.getProductScore();
        result = result * 59 + (($productScore == null) ? 43 : $productScore.hashCode());
        final Object $serviceScore = this.getServiceScore();
        result = result * 59 + (($serviceScore == null) ? 43 : $serviceScore.hashCode());
        final Object $isReply = this.getIsReply();
        result = result * 59 + (($isReply == null) ? 43 : $isReply.hashCode());
        final Object $user = this.getUser();
        result = result * 59 + (($user == null) ? 43 : $user.hashCode());
        final Object $unique = this.getUnique();
        result = result * 59 + (($unique == null) ? 43 : $unique.hashCode());
        final Object $storeProduct = this.getStoreProduct();
        result = result * 59 + (($storeProduct == null) ? 43 : $storeProduct.hashCode());
        final Object $replyType = this.getReplyType();
        result = result * 59 + (($replyType == null) ? 43 : $replyType.hashCode());
        final Object $comment = this.getComment();
        result = result * 59 + (($comment == null) ? 43 : $comment.hashCode());
        final Object $pics = this.getPics();
        result = result * 59 + (($pics == null) ? 43 : $pics.hashCode());
        final Object $createTime = this.getCreateTime();
        result = result * 59 + (($createTime == null) ? 43 : $createTime.hashCode());
        final Object $merchantReplyContent = this.getMerchantReplyContent();
        result = result * 59 + (($merchantReplyContent == null) ? 43 : $merchantReplyContent.hashCode());
        final Object $merchantReplyTime = this.getMerchantReplyTime();
        result = result * 59 + (($merchantReplyTime == null) ? 43 : $merchantReplyTime.hashCode());
        return result;
    }
    
    @Override
    public String toString() {
        return "StoreProductReplyDto(id=" + this.getId() + ", uid=" + this.getUid() + ", user=" + this.getUser() + ", oid=" + this.getOid() + ", unique=" + this.getUnique() + ", productId=" + this.getProductId() + ", storeProduct=" + this.getStoreProduct() + ", replyType=" + this.getReplyType() + ", productScore=" + this.getProductScore() + ", serviceScore=" + this.getServiceScore() + ", comment=" + this.getComment() + ", pics=" + this.getPics() + ", createTime=" + this.getCreateTime() + ", merchantReplyContent=" + this.getMerchantReplyContent() + ", merchantReplyTime=" + this.getMerchantReplyTime() + ", isReply=" + this.getIsReply() + ")";
    }
}
